package com.dnjn.happiness.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.biz.domain.HappinessScores;
import com.dnjn.happiness.biz.domain.RewardPunishment;
import com.dnjn.happiness.common.core.model.ModelHappinessScores;

import java.util.List;
import java.util.Map;

/**
 * 奖惩Service接口
 *
 * @author happiness
 * @date 2023-10-19
 */
public interface IRewardPunishmentService extends IService<RewardPunishment> {

    Page<RewardPunishment> getPage(Page page, Map<String, Object> map);

    List<RewardPunishment> getRewardPunishmentList(Long userId);

    List<ModelHappinessScores> getRewardPunishmentHappinessScores(Long userId);

    HappinessScores getTotalRecord(Long userId);
}
